package patterns.command.main;

import patterns.command.core.Command;
import patterns.command.core.Invoker;
import patterns.command.core.MyCommand;
import patterns.command.core.Reciever;

public class Test {
	public static void main(String[] args) {
		Reciever reciever = new Reciever();
		Command command = new MyCommand(reciever);
		Invoker invoker = new Invoker(command);
		invoker.action();
	}
}
